﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities.Auditing;

namespace SanJ.FreeCare.RiskAssessmentTempaltes
{
    public class RiskAssessmentTempalteItem : AuditedAggregateRoot<Guid>
    {
        /// <summary>
        /// 观测子项Id
        /// </summary>
        public Guid ObservationDefinitionItemId {  get; set; }
        /// <summary>
        /// 模板ID
        /// </summary>
        public Guid RiskAssessmentTempalteId{ get; set; }
        /// <summary>
        /// 排序
        /// </summary>
        public int Sort {  get; set; }
        /// <summary>
        /// 观测子项显示方式 单选 多选 文本等text
        /// </summary>
        public string Type {  get; set; }
        /// <summary>
        /// 其他样式描述（字体大小fontsize:18px，表格X轴 x:18px，表格Y轴 y:19px)
        /// </summary>
        public string Description { get; set; }
        /// <summary>
        /// 对应的分值
        /// </summary>
        public string Score { get; set; }
        /// <summary>
        /// 对应的分值类型
        /// </summary>
        public string ScoreType { get; set; }
        /// <summary>
        /// 是否必填
        /// </summary>
        public string IsRequired {  get; set; }
        /// <summary>
        /// 此项目填写后会产生哪些问题
        /// </summary>
        public Guid[] DetectedIssueIds { get; set; }

        public RiskAssessmentTempalteItem() { }
    }
}
